package com.crazy.boot.util;

import java.io.Serializable;
import java.util.UUID;

import org.apache.shiro.session.Session;
import org.apache.shiro.session.mgt.eis.SessionIdGenerator;

public class SessionIdMine implements SessionIdGenerator {

	@Override
	public Serializable generateId(Session session) {
		return UUID.randomUUID().toString();
	}
}
